package com.daiyilu.common;

import java.io.Serializable;

/**
 * 接口数据统一返回出口数据
 * @param <T>
 */
public class Result<T> implements Serializable {

    private Integer code;//返回码

    private String msg;//返回信息

    private T data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }


}
